<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    
    <h3>JS动态添加标签页</h3>   
        <div class="bigBox" id="tab">
            <nav class="firstnav">
                <ul>
                    <li class="liActive"><span>text1</span><span></span></li>
                    <li><span>text2</span><span></span></li>
                    <li><span>text3</span><span></span></li>
                </ul>
                <div class="tabAdd">
                    <span>+</span>
                </div>
            </nav>
            <!-- tab内容 -->
            <div class="tabCon">
                <section class="conActive">测试1</section>
                <section>测试2</section>
                <section>测试3</section>
            </div>
        </div>    

        <script src="06tab.js"></script>
</body>

</html>